<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

<%@include file="/WEB-INF/jsp/include/tags.jsp"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>siteFlow - write</title>
	<link rel="stylesheet" type="text/css" href="/css/style.css"/>
	<script type="text/javascript">
	<!--
		function goList() {
			var f = document.siteFlowCriteriaForm;
			f.submit();
		}
	//-->
	</script>
</head>
<body>
	
	<p><a href="/">home</a></p>
		
	<h1>SiteFlow - edit</h1>
	
	<form:form commandName="siteFlowCriteria" id="siteFlowCriteriaForm" name="siteFlowCriteriaForm" action="/siteFlow.do" method="get">
	<input type="hidden" name="mode"/>
	<form:hidden path="flowId"/>
	<form:hidden path="paging.currentPage"/>
	</form:form>

	<form:form commandName="siteFlow" name="siteFlowForm" action="/siteFlowEdit.do">
	<input type="hidden" name="mode" value="edit"/>
	<form:hidden path="flowId"/>
	<table width="800">
		<colgroup width="800">
			<col width="100"/>
			<col width="*"/>
		</colgroup>
		<tr>
			<th>flowId</th>
			<td>
				<c:out value="${siteFlow.flowId}"/>
			</td>
		</tr>
		<tr>
			<th>siteId</th>
			<td>
				<form:input path="siteId"/>
				<form:errors path="siteId" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>accessIp</th>
			<td>
				<form:input path="accessIp"/>
				<form:errors path="accessIp" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>accessDate</th>
			<td>
				<form:input path="accessDate"/>
				<form:errors path="accessDate" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>accessTime</th>
			<td>
				<form:input path="accessTime"/>
				<form:errors path="accessTime" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>accessPage</th>
			<td>
				<form:input path="accessPage"/>
				<form:errors path="accessPage" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>refererWebsite</th>
			<td>
				<form:input path="refererWebsite"/>
				<form:errors path="refererWebsite" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>refererPage</th>
			<td>
				<form:input path="refererPage"/>
				<form:errors path="refererPage" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>refererKeyword</th>
			<td>
				<form:input path="refererKeyword"/>
				<form:errors path="refererKeyword" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>area</th>
			<td>
				<form:input path="area"/>
				<form:errors path="area" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>sessionId</th>
			<td>
				<form:input path="sessionId"/>
				<form:errors path="sessionId" cssClass="errorMessage"/>
			</td>
		</tr>
	</table>
	<input type="submit" value="edit"/>
	</form:form>

	<a href="javascript:goList();">list</a>

</body>
</html>
